package com.csht.model;

import java.util.Date;

/**
 * 用户表
 * @author Administrator
 *
 */
public class CshtUser {
	
	/**
	 * 用户id(主键)
	 */
	private Integer userId;

	/**
	 * 用户名(主键)
	 */
    private String userUsername;

    /**
     * 用户手机号(主键)
     */
    private String userTel;
	
	/**
	 * 头像地址，用户不上传头像时间将使用系统默认头像
	 */
    private String userHeadPath;

    /**
     * 密码，使用MD5加密
     */
    private String userPassword;

    /**
     * 学校地址，字段格式为：省－市－学校
     */
    private String userAddress;

    /**
     * 性别
     */
    private String userGender;

    /**
     * QQ号
     */
    private String userqq;

    /**
     * 微信号
     */
    private String userWechat;

    /**
     * 失败次数，失败4次时需要输入图形验证码完成登录
     */
    private Integer userLoginFailTime;

    /**
     * 锁定时间用来记录是否启用图形验证码,用户登录成功或超过两小时后再次登录就初始化失败次数
     */
    private Date userLockTime;

    /**
     * 用户违规次数，记录用户被举报属于违规时的次数，达到5次时进行封号
     */
    private Integer userViolationsTime;

    /**
     * 是否为停封状态，登录时进行该字段判断，帐号属于封停时不能登录
     */
    private String userStopSeal;
    
    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserUsername() {
        return userUsername;
    }

    public void setUserUsername(String userUsername) {
        this.userUsername = userUsername == null ? null : userUsername.trim();
    }

    public String getUserTel() {
        return userTel;
    }

    public void setUserTel(String userTel) {
        this.userTel = userTel == null ? null : userTel.trim();
    }

    public String getUserHeadPath() {
        return userHeadPath;
    }

    public void setUserHeadPath(String userHeadPath) {
        this.userHeadPath = userHeadPath == null ? null : userHeadPath.trim();
    }

    public String getUserPassword() {
        return userPassword;
    }

    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword == null ? null : userPassword.trim();
    }

    public String getUserAddress() {
        return userAddress;
    }

    public void setUserAddress(String userAddress) {
        this.userAddress = userAddress == null ? null : userAddress.trim();
    }

    public String getUserGender() {
        return userGender;
    }

    public void setUserGender(String userGender) {
        this.userGender = userGender == null ? null : userGender.trim();
    }

    public String getuserqq() {
        return userqq;
    }

    public void setuserqq(String userqq) {
        this.userqq = userqq == null ? null : userqq.trim();
    }

    public String getUserWechat() {
        return userWechat;
    }

    public void setUserWechat(String userWechat) {
        this.userWechat = userWechat == null ? null : userWechat.trim();
    }

    public Integer getUserLoginFailTime() {
        return userLoginFailTime;
    }

    public void setUserLoginFailTime(Integer userLoginFailTime) {
        this.userLoginFailTime = userLoginFailTime;
    }

    public Date getUserLockTime() {
        return userLockTime;
    }

    public void setUserLockTime(Date userLockTime) {
        this.userLockTime = userLockTime;
    }

    public Integer getUserViolationsTime() {
        return userViolationsTime;
    }

    public void setUserViolationsTime(Integer userViolationsTime) {
        this.userViolationsTime = userViolationsTime;
    }

    public String getUserStopSeal() {
        return userStopSeal;
    }

    public void setUserStopSeal(String userStopSeal) {
        this.userStopSeal = userStopSeal == null ? null : userStopSeal.trim();
    }
}